import pygame
pygame.init()

screen = pygame.display.set_mode((480,700))
# 1> 加载图像
bg = pygame.image.load("./images/background.png")
# 2> 绘制在屏幕
screen.blit(bg,(0,0))


hero = pygame.image.load("./images/me1.png")
screen.blit(hero,(200,500))

# 3> 更新显示
pygame.display.update()

clock = pygame.time.Clock()
i=0
while True:
    clock.tick(60)
    print(i)
    i+=1
pygame.quit()